vendor/golang.org/x/net/http2/hpack.Decoder.maxStrLen (field)
10 uses
vendor/golang.org/x/net/http2/hpack (current package)
hpack.go#L84: maxStrLen int // 0 means unlimited
hpack.go#L123: d.maxStrLen = n
hpack.go#L270: if d.maxStrLen != 0 && int64(len(d.buf)) > 2*(int64(d.maxStrLen)+varIntOverhead) {
hpack.go#L400: if d.maxStrLen != 0 {
hpack.go#L401: if len(hf.Name) > d.maxStrLen || len(hf.Value) > d.maxStrLen {
hpack.go#L488: if d.maxStrLen != 0 && strLen > uint64(d.maxStrLen) {
hpack.go#L516: err := huffmanDecode(buf, d.maxStrLen, u.b)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |